package com.loan.common.enums;

/**
 * @author shiguang on 2022/7/21 17:39
 */
public enum ProductStatus {

    WAIT("0", "待上架"), SUCCESS("1", "上架"), FAIL("2", "下架");

    private final String code;
    private final String info;

    ProductStatus(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
